*{
    margin: 0;
    padding: 0;
}
$color:#f0f0f0 #333 #239e4c #8e8e8e #666 #000 #dd0e00 #fff;
$background:#f0f0f0 #2d2d2d goldenrod #fff #dd0e00;;
body,html{
    width: 100%;
    background: nth($background,1);
    margin: 0 auto;
    overflow: hidden;
}
.ico{
    width: 100%;
    margin: 0 auto;
    position: relative;
    .icosd{
        width: 39px;
        height: 100%;
        color: nth($color,5);
        background:nth($background,4);
        position: fixed;
        z-index: 99999;
        right: 0;
        text-align: center !important;
       padding-top: 200px; 
       .tu5{
        display: block;  
       }
       p{
        width: 39px;
        height: 39px;
        line-height: 39px;
        cursor: pointer;
            &:hover{
                background: rgba(200,200,200,0.5); 
            }
            i{
            margin-left: 0 !important;
            font-size: 20px !important;  
            }  
            &:nth-child(4){
                margin-top: 60px;
            }
       }

    }
    .opi{
        width: 110px;
        height: 39px;
        border: 1px solid #999;
        background: nth($background,4);
        position: fixed;
        z-index: 999;
        line-height: 39px;
        text-align: center;
        right: 39px;
        top: 200px;
        box-shadow: 0px 2px 2px 1px #888;
        display: none;
        a{
            color: nth($color,6);
            font-size: 14px;
            text-decoration: none;  
        }
    }
    .opi-img{
        width: 110px;
        height: 140px;
        position: fixed;
        z-index: 999;
        border: 1px solid #000;
        background: nth($background,4);
        text-align: center;
        right: 39PX;
        top: 135px;
        display: none; 
        p{
            color:nth($color,6);
            font-size: 16PX;
            font-weight: bold;
            margin-top: 5PX; 
        }
    }
    .opi-a{
        width: 110px;
        height: 39px;
        border: 1px solid #999;
        background: nth($background,4);
        position: fixed;
        z-index: 999;
        line-height: 39px;
        text-align: center;
        right: 39px;
        top: 273px;
        box-shadow: 0px 2px 2px 1px #888;
        display: none;
        a{
            color: nth($color,6);
            font-size: 14px;
            text-decoration: none;

        }
    }
    .opi-top{
        width: 110px;
      height: 39px;
      border: 1px solid #999;
      background: nth($background,4);
      position: fixed;
      z-index: 999;
      line-height: 39px;
      text-align: center;
      right: 39px;
      top:410px;
      box-shadow: 0px 2px 2px 1px #888;
      color:nth($color,6);
      font-size: 14px;
      display: none; 
    }
    .opi-t{
        position: fixed;
        right: 39px;
        z-index: 999;
        top: 200px;
        display: none; 
        img{
            width: 128px;  
        } 
    }
    .opi-x{
        position: fixed;
        color: nth($color,5);
        z-index: 999;
        right: 39px;
        top: 220px;
        display: none;
        cursor: pointer;
        i{
            color: nth($color,6);
            font-size:14px; 
        }
    }
}
#top{
    width: 100%;
    height: 40px;
    background: nth($background,2);
    position: fixed;
    overflow: hidden;
    z-index: 10;
}

#header{
    width: 1240px;
    height: 102px;
    margin:0 auto;
  padding-top: 30px; 
  .logo{
      img{
        float: left;
        width: 180px;
        height: 36px;
        margin-top: 33px; 
      }
      span{
          a{
            display: inline-block;
            font-size: 18px;
            color: nth($color,2);
            margin:0px 0  0 40px;
            text-decoration: none;
            margin-top: 40px;
              
          }
      }

  }
  .search-box{
    float: right;
    position: relative;  
    .search{
        background: rgba(255,255,255,0.8);
        border-radius: 18px;
        position: relative;
        width: 420px;
        height: 36px;
        top: -30px;
        z-index: 1;
        .txt{
            background: transparent;
            outline: none;
            padding-left: 15px;
            width: 340px;
            float: left;
            border: none;
            line-height: 36px;
        }
        i{
            background: nth($background,4); 
            float:right;
             position:absolute;
            top: 10px;
             left: 360px; 
        }
    }
  }
  .search-suggest-list{
    margin: 0;
    margin-top: 10px;
    padding: 0;
    float: right;
    .suggest-item{
        margin: 10px 0 10px 10px !important;
        font-size: 12px ;
        position: relative;
        left:  350px;
      color: nth($color,2);
      text-decoration: none;
    }
  }
}
.qwe{
    background: black;
} 
.seach-box{
    width: 100%;
    height: 48px;
    margin: 0 auto;
    background: nth($background,4);
    .seach-nav{
        width: 1180px;
        height: 48px;
        margin: 0 auto;
        .seach-nav-a{
            a{
                font-size: 14px;
                color: nth($color,4);
                line-height: 48px;
                text-decoration: none;
                &:hover{
                    color: nth($color,3);
                }
            }
            span{
                color: nth($color,4);
            }
          
        }
        .qwords{
            font-size: 14px;
            color: #333;
            line-height: 48px; 
        }.qwords{
            font-size: 14px;
            color: nth($color,2);
            line-height: 48px; 
        } 
    }
}

.box{
    width: 100%;
    height: 144px;
    margin: 0 auto;
    background: nth($background,4);
    .box-a{
        width: 1180px;
        height: 48px;
        border-top: 1px solid #848484;
        margin: 0 auto;
        .classify{
            font-size: 14px;
            color: nth($color,2);
            line-height: 48px;
            .classify-a{
                width: 60px;
                a{
                    font-size: 14px;
                    color: nth($color,4);
                    text-decoration: none;
                    text-align: left;
                    &:hover{
                        color: nth($color,3);
                    } 
                }
               }
             span{
                display: inline-block;
                width: 100px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                a{
                    font-size: 14px;
                    color: nth($color,4);
                    text-decoration: none;
                    text-align: left;
                    &:hover{
                        color: nth($color,3);
                    }
                  }
            }
              
           
          }
          .brand{
            width:1180x;
            height: 48px;
            border-top: 1px solid #9e9e9e;
            margin: -20px auto 0;
            .brand-a{
                font-size: 14px;
                color: nth($color,2);
                line-height: 48px;
              }
            span{
                margin-right: 30px;
                a{
                    font-size: 14px;
                    color: nth($color,4);
                    text-decoration: none;
                    text-align: left;
                    &:hover{
                        color: nth($color,3);
                    }
                }
              }
          }
          .sort{
            width: 1180px;
            height: 48px;
            border-top: 1px solid #8e8e8e;
            margin: 0 auto;
            .sort-a{
                font-size: 14px;
                color: nth($color,2);
                line-height: 48px;
              }
              span{
                margin-right: 30px; 
                .sort-b {
                    color: nth($color,3); 
                  }

                a{
                    font-size: 14px;
                    color: nth($color,4);
                    text-decoration: none;
                    text-align: left; 
                    &:hover{
                        color: nth($color,3);  
                    }
                }
              }
          }
      }
}
#list{
    width: 100%;

    margin-top: 20px;
    margin: 0 auto;
    .list-a{    
        width: 1180px;
        min-height: 300px;
        margin: 0 auto;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        .list-b{
            width: 220px;
            height: 345px;
            color: nth($color,2); 
            background: nth($background,4);
            padding: 30px 0px 0 0;
            text-align: center;
            // margin-bottom: 20px;
            a{
                text-decoration: none; 
                em{
                    color: nth($color,7);
                    font-size: 18px;  
                }
                img{
                    width: 180px;
                    height: 180px;
                }
                .list-img{
                    width: 180px;
                    height: 20px;
                   font-size: 14px;
                   margin-top: 20px;
                   text-align: center;
                   line-height: 20px;
                   padding-left: 20px;
                   color: nth($color,5);
                   white-space: nowrap;
                   overflow: hidden;
                   text-overflow: ellipsis;
                  
                  }
                  span{
                    display: inline-block;
                    color: nth($color,7);
                    font-size: 20px;
                    margin-top: 30px; 
                  }
            }
            .shop{
                width: 105px;
                height: 28px;
                border: 1px solid red;
                background:nth($background,4);
             background-size:15px ;
               margin: 0 auto;
               margin-top: 20px;
             display: none;
             text-align: center;
             box-sizing: border-box;
             a{
                font-size: 12px;
                line-height: 28px;
                color: nth($color,7);
                outline: none;
                text-decoration: none;
             
             }
              }
          &:hover{
            border: 1px solid red;
            .shop{
                border: 1px solid red;
                display: block;
                &:hover{
                    background: nth($background,5);
                    color: nth($color,8);
                    a{
                        background:nth($background,5) 
                        ;
                        color: nth($color,8);
                      }
                }
              }
             

          }    
      
      }

  
    }
}
.pagination{
    width: 200px;
    height: 50px;
    margin: 20px auto 0;
   
  }